<!DOCTYPE html "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">


<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">轮播图名称：</label>
                            <div class="col-sm-10">
                                <input id="bannerName" name="bannerName" th:value="${bannerInfo.bannerName}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group" th:if="${bannerInfo.imgUrl} != null ">
                            <label class="col-sm-2 control-label">轮播图片：</label>
                        </div>

                        <div class="form-group" th:if="${bannerInfo.imgUrl} != null ">
                            <div class="col-sm-8 col-sm-offset-3">
                                <img th:src="${bannerInfo.imgUrl}"  alt="轮播图片" class="img-responsive img-thumbnail"
                                     style="height: 60px;width: 60px">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">链接地址：</label>
                            <div class="col-sm-10">
                                <input type="text" id="linkUrl" name="linkUrl" th:value="${bannerInfo.linkUrl}"
                                       data-placeholder="" class="form-control" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">所属产品：</label>
                            <div class="col-sm-10">
                                <input type="text" id="productName" name="productName" th:value="${bannerInfo.productName}"
                                       data-placeholder="" class="form-control" readonly="readonly">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">状态:</label>
                            <div class="col-sm-10">
                                <select id="status" name="status" th:field="${bannerInfo.status}"
                                        data-placeholder="状态" class="form-control chosen-select"  disabled="disabled"   >
                                    <option value="1">上架</option>
                                    <option value="0">下架</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">轮播图类型:</label>
                            <div class="col-sm-10">
                                <select id="bannerType" name="bannerType" th:field="${bannerInfo.bannerType}"
                                        data-placeholder="轮播图类型" class="form-control chosen-select"  disabled="disabled"   >
                                    <option value="1">贷款首页</option>
                                    <option value="2">马甲首页</option>
                                </select>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script th:inline="javascript">
    $().ready(function () {
        console.log('isHot :'+isHot);
    });





</script>
</body>
</html>